package com.xinqi.modules.user.user.dto.req;

import com.xinqi.common.core.enums.UserStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author linkai
 * @date 2023/4/27
 */
@Data
@Schema(description = "用户变更状态-请求对象")
public class UpdateUsersStatusDTO {

    @Schema(description = "用户状态：1-正常；2-禁用", example = "1")
    @NotNull(message = "状态不能为空")
    private UserStatusEnum status;

    @Schema(description = "用户ID", example = "100001")
    @NotNull(message = "用户ID不能为空")
    private Long userId;
}
